package com.pozu.new_retail.dao.mapper;

import java.util.HashMap;
import java.util.List;

import com.pozu.new_retail.dao.model.ShareInfo;
import com.pozu.new_retail.dao.vo.BriefShareInfoVo;
import com.pozu.new_retail.dao.vo.ShareInfoVo;
import com.pozu.new_retail.dao.vo.ShareLinkedVo;

public interface ShareInfoMapper {
	
	public ShareInfo queryByMap(HashMap<String, Object> hashMap);

	public int insertShareInfo(ShareInfo shareInfo);
	
	public int updateShareInfo(ShareInfo shareInfo);
	
	public ShareInfo queryByShareId(long shareId);
	
	public List<BriefShareInfoVo> queryListByUserId(HashMap<String, Object> map);
	
	public ShareInfoVo queryDetailsByShareId(long shareId);
	
	public ShareLinkedVo queryLinkedByShareId(long userId);
	
}
